'use strict';
const msgChat = require('./msg-chat.js');

exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	switch (event.type) {
		case 'get_frenid_list':
			return msgChat.getFrenidList();
	}
	//返回数据给客户端
	return event
};
